﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MacUcretListesi.ascx.cs"
    Inherits="HPDMAS.UserControls.MacUcretListesi" %>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="MacUcretID"
    DataSourceID="EntityDataSource1" AllowPaging="True">
    <PagerSettings PageButtonCount="15" />
    <AlternatingRowStyle BackColor="#FF9966" />
    <Columns>
        <asp:TemplateField ShowHeader="False">
            <EditItemTemplate>
                <asp:Button ID="Button1" runat="server" CausesValidation="True" CommandName="Update"
                    Text="Güncelle" />
                &nbsp;<asp:Button ID="Button2" runat="server" CausesValidation="False" CommandName="Cancel"
                    Text="Vazgeç" />
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Button ID="Button1" runat="server" CausesValidation="False" CommandName="Edit"
                    Text="Düzenle" />
                &nbsp;<asp:Button ID="Button2" runat="server" CausesValidation="False" CommandName="Delete"
                    Text="Sil" />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="SezonID">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("SezonID") %>' Width="40px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label2" runat="server" Text='<%# Bind("SezonID") %>' Width="40px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="LigID">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("LigID") %>' Width="40px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label3" runat="server" Text='<%# Bind("LigID") %>' Width="40px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="MaçGörevID">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("MacGorevID") %>' Width="40px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label4" runat="server" Text='<%# Bind("MacGorevID") %>' Width="40px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="MaçÜcreti">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("MacUcreti") %>' Width="80px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label5" runat="server" Text='<%# Bind("MacUcreti") %>' Width="80px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Yüzde50DeplasmanÜcreti">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("Yuzde50DeplasmanUcreti") %>'
                    Width="80px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label6" runat="server" Text='<%# Bind("Yuzde50DeplasmanUcreti") %>'
                    Width="80px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="KesintiGV">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("KesintiGV") %>' Width="80px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label7" runat="server" Text='<%# Bind("KesintiGV") %>' Width="80px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="KesintiDV">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("KesintiDV") %>' Width="80px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label8" runat="server" Text='<%# Bind("KesintiDV") %>' Width="80px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <HeaderStyle BackColor="Black" ForeColor="White" />
    <RowStyle Height="30px" />
</asp:GridView>
<asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=HPDMASEntities"
    DefaultContainerName="HPDMASEntities" EnableDelete="True" EnableFlattening="False"
    EnableUpdate="True" EntitySetName="MacUcret">
</asp:EntityDataSource>
<%--<asp:GridView ID="GridView2" runat="server">
    <PagerSettings PageButtonCount="15" />
    <AlternatingRowStyle BackColor="#FF9966" />
    <HeaderStyle BackColor="Black" ForeColor="White" />
    <RowStyle Height="30px" />
</asp:GridView>--%>